package org.andengine.shmup;

public enum MotionType {
	/*
	ARC_L, ARC_R, H_STRAIGHT, LEFT_CURVE, LINEAR_L, LINEAR_R, PARABOLA_L, PARABOLA_R, RIGHT_CURVE, STRAIGHT;
	
	private static final String[] motion_names = {
			"arc_l", "arc_r", "h_straight","left_curve","linear","n_linear","parabola_l","parabola_r","right_curve","straight",
	};
	private static final HashMap<String, Integer> type_map = new HashMap<String, Integer>();
	
	static {
		for(int x = 0; x < motion_names.length; x++){
			type_map.put(motion_names[x], x);
		}
	}

	public int search(String key){
		if(!type_map.containsKey(key))
			return type_map.get("straight");
		return type_map.get(key.toLowerCase());
	}
	public MotionType getMotion(int i){
		return MotionType.values()[i];
	}
	*/
	/* 
	 * Prototype to Revised Motion_Type Enum
	 */ 
	ARC_NEG, ARC_POS, GAUSSIAN, LINEAR, LINEAR_SPREAD, LINEAR_V, LOOP, PARABOLA;
	//*/
}
